package com.wkedu.recommend.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
/**
 * <p>
 * 
 * </p>
 *
 * @author ganggang
 * @since 2021-08-11
 */
public class ProductOrder extends Model<ProductOrder> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ORDER_ID", type = IdType.AUTO)
    private Integer orderId;

    @TableField("USER_ID")
    private Integer userId;

    @TableField("PRODUCT_ID")
    private Integer productId;

    @TableField("GWCOUNT")
    private Integer gwcount;

    private String outTradeNo;

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getGwcount() {
        return gwcount;
    }

    public void setGwcount(Integer gwcount) {
        this.gwcount = gwcount;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "ProductOrder{" +
        ", orderId=" + orderId +
        ", userId=" + userId +
        ", productId=" + productId +
        ", gwcount=" + gwcount +
        ", outTradeNo=" + outTradeNo +
        "}";
    }
}
